<template>
  <div>
    <van-search v-model="value" placeholder="请输入搜索关键词" input-align="center" @click="fatherMsg"/>
  </div>
</template>
<script>
import Vue from 'vue';
import { Search } from 'vant';

Vue.use(Search);
export default {
  props: ['fatherMsg'],
  data() {
    return {
        value:'',
    };
  }
};
</script>
<style lang="stylus" scoped>

</style>